<template>
	<view>
		<image class="logo" src="/static/svg/success.svg"></image>
		<view class="text-area">
			<view class="title">发布成功</view>
			<view class="text">在首页可查看已发布的鱼票</view>
		</view>
		<view class="back" @click="goto('/pages/tabBar/index/index')">
			<view>返回首页</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
	
		},
		onLoad() {
		},
		methods: {
			goto(url){
				uni.switchTab({
					url: url
				})
			}
		}
	}
</script>

<style>
	.logo {
		height: 160rpx;
		width: 160rpx;
		margin: 200rpx 0 40rpx;
		margin-left: calc(50% - 80rpx);
	}

	.title {
		font-size: 42rpx;
		font-weight: 700;
        text-align: center;
	}
	.text{
		padding-top: 20rpx;
		font-size: 30rpx;
		text-align: center;
		color: rgba(32, 32, 32, 0.6);
	}
	.back{
		width: 240rpx;
		height: 70rpx;
		line-height: 70rpx;
		font-size: 28rpx;
		border-radius: 28rpx;
		background: #D43030;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #fff;
		margin: 40rpx auto;
		font-weight: 600;
	}
</style>
